package com.xuan.friend.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuan.friend.domain.user.dto.UserDTO;
import com.xuan.friend.domain.user.dto.UserEditDTO;
import com.xuan.friend.domain.user.User;
import com.xuan.friend.domain.user.vo.UserDetailVo;
import com.xuan.friend.domain.user.vo.UserVo;

/**
* @author ASUS
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2024-11-22 14:48:27
*/
public interface UserService extends IService<User> {


    boolean sendCode(UserDTO userDTO);

    String userLogin(UserDTO userDTO);

    boolean logout(String token);

    UserVo getUserInfo(String token);

    UserDetailVo getUserDetail();

    int editUser(UserEditDTO userEditDTO);

    int updateHeadImage(String headImage);
}
